package java8_24.oop.Test_2;

public class JavaTeacher extends Teacher{
    public JavaTeacher(String name, int age, int teachAge, String sex) {
        super(name, age, teachAge, sex);
    }
    public void  java(){
        System.out.println(getName()+"熟悉Java");
    }
}
